from sqlalchemy import DateTime, BigInteger, Column, Integer, String
from config.database import Base


class SysJkyx(Base):
    """
    监控影像处理记录表
    """

    __tablename__ = 'sys_jkyx'

    id = Column(BigInteger, primary_key=True, autoincrement=True, nullable=False, comment='主键')
    user_id = Column(BigInteger, nullable=True, comment='用户id')
    type = Column(Integer, nullable=True, comment='处理类型：1去除雨雾雪 2xx')
    file_path = Column(String(128), nullable=True, comment='文件路径')
    result_path = Column(String(128), nullable=True, comment='处理结果路径')
    create_time = Column(DateTime, nullable=True, comment='创建时间')
    user_name = Column(String(256), nullable=True, comment='用户名')



